algebra geometry right triangle calculations education speed and feed learning machining cnc mortgage home mathematics calculator math pitch circle cad milling calculus loan